.box {
  border: 3px solid #333;
  margin: 10px auto;
  box-sizing: border-box;
  padding: 15px;
}

.box > .content {
  width: 100%;
  display: flex;
  margin-bottom: 20px;
}

.box > .content > .left {
  width: 120px;
  text-align: center;
}

.box > .content > .right {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.box > .content > .right > li {
  padding: 5px 10px;
  margin: 5px 10px;
  cursor: pointer;
}

.box > .content > .right > li:hover,
.box > .content > .right > li.active {
  background-color: pink;
  color: #fff;
}

.box > .search > .right > input {
  padding: 5px;
  padding-left: 20px;
}

.box > .pagenation > .right > span.left,
.box > .pagenation > .right > span.right {
  padding: 5px 20px;
  background-color: skyblue;
  color: #fff;
  margin: 0 10px;
  cursor: pointer;
}

.box > .pagenation > .right > span.left.disable,
.box > .pagenation > .right > span.right.disable {
  background-color: #ccc;
  cursor: not-allowed;
}

.box > .pagenation > .right > span.total {
  padding: 5px 0;
}

.box > .pagenation > .right > select {
  padding-left: 24px;
  margin-left: 30px;
}

.box > .pagenation > .right > input {
  width: 50px;
  text-align: center;
  margin: 0 30px;
}


.list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

}

.list > li {
  height: 500px;
  box-sizing: border-box;
  border: 1px solid #333;
  width: 280px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.list > li > * {
  pointer-events: none;
}

.list > li button {
  pointer-events: all;
}

.list > li > .show {
  width: 100%;
  height: 280px;
  position: relative;
}

.list > li > .show > span {
  position: absolute;
  right: 0;
  top: 0;
  background-color: red;
  color: #fff;
  padding: 5px 15px;
}

.list > li > .show > span.sale {
  right: 80px;
  background-color: orange;
}


.list > li > .info {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list > li > .info > .title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.list > li > .info > .price {
  display: flex;
  justify-content: space-around;
  color: #ccc;
}

.list > li > .info > .price > .old {
  font-size: 16px;
  text-decoration: line-through;
}

.list > li > .info > .price > .current {
  color: red;
  font-size: 20px;
}
